package simulation;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics2D;
import util.Pixmap;
import util.Vector;

public class FixedMass extends Mass {

	// reasonable default values
	public static final Dimension DEFAULT_SIZE = new Dimension(16, 16);
	public static final Pixmap DEFUALT_IMAGE = new Pixmap("mass.gif");

	/**
	 * XXX.
	 */
	public FixedMass(double x, double y, double mass) {
		super(x, y, mass);
	}

	/**
	 * XXX.
	 */
	@Override
	public void update(double elapsedTime, Dimension bounds) {
		super.update(elapsedTime, bounds);
	}

	/**
	 * XXX.
	 */
	@Override
	public void paint(Graphics2D pen) {
		pen.setColor(Color.BLACK);
		pen.fillOval((int) getLeft(), (int) getTop(), (int) getWidth(),
				(int) getHeight());
	}

	/**
	 * Use the given force to change this mass's acceleration.
	 */
	public void applyForce(Vector force) {
		// this is supposed to be empty
		// we know that empty 
	}

}
